gfortran-s390x-linux-gnu software package provides GNU Fortran 95 compiler for the s390x architecture, you can install in your Ubuntu 16.10 (Yakkety Yak) by running the commands given below on the terminal,
$ sudo apt-get update $ sudo apt-get install gfortran-s390x-linux-gnu
gfortran-s390x-linux-gnu is installed in your system.
Make ensure the gfortran-s390x-linux-gnu package were installed using the commands given below,
$ sudo dpkg-query -l | grep gfortran-s390x-linux-gnu *
You will get with gfortran-s390x-linux-gnu package name, version, architecture and description in a table
| Distro | Ubuntu 16 10 yakkety yak |
| Section | Development |
| Package | gfortran-s390x-linux-gnu |
| Version | 4:6.1.1-1ubuntu2 |
| Description | GNU Fortran 95 compiler for the s390x architecture |
| Sub Section | Devel |